import Vue from 'vue'
import App from './App'
import api from './static/js/api.js'
import http from "./static/js/http.js"
import localMap from './static/js/localMap.js' 
import util from './static/js/util.js'
import router from './static/js/router.js'
import serverData from './static/js/serverData.js'

Vue.config.productionTip = false

App.mpType = 'app'

Vue.prototype.$localMap = localMap;
Vue.prototype.$util = util;
Vue.prototype.$routerTo = router;
Vue.prototype.$serverData = serverData;
Vue.prototype.$api = api;
Vue.prototype.$http = http;
// 引入全局uView
import uView from 'uview-ui'
Vue.use(uView);

const app = new Vue({
    ...App
})
app.$mount()
